package cn.tedu.jsd2205the.back.end.project.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 添加用户（用户注册）的DTO类
 */
@Data
public class UserRegisterDTO implements Serializable {

    @ApiModelProperty(value = "用户名", name = "username", required = true)
    private String username;

    @ApiModelProperty(value = "密码", name = "password", required = true)
    private String password;

    @ApiModelProperty(value = "手机号", name = "phone", required = true)
    private String phone;
}